package server.rest;

public interface StringContentHttpApiClient
{
    public abstract HttpApiResponse get(String categoryOverride, String remoteEndPoint, String pathAndQuery,
                    HttpApiHeader[] headers, Object... parameters) throws Throwable;

    public abstract HttpApiResponse delete(String categoryOverride, String remoteEndPoint, String pathAndQuery,
                    HttpApiHeader[] headers, Object... parameters) throws Throwable;

    public abstract HttpApiResponse put(String categoryOverride, String remoteEndPoint, String pathAndQuery,
                    String content, String contentType,
                    HttpApiHeader[] headers, Object... parameters) throws Throwable;
    
    public abstract HttpApiResponse post(String categoryOverride, String remoteEndPoint, String pathAndQuery,
                    String content, String contentType,
                    HttpApiHeader[] headers, Object... parameters) throws Throwable;
}
